:root {
    --m-body: 1280px; /*宽度*/
    --theme-color: #ecb907; /*主题颜色*/
    /*头部背景颜色*/
    --header-bg-color: #f6f6f6;
    /*轮播图背景,要带透明度，不然shadow会被遮住*/
    --main-banner-bg: rgba(0,0,0,.05);
    /*内容背景*/
    --main-content-bg: linear-gradient(180deg,rgba(0,0,0,.05), rgba(236, 238, 188, 0.2), rgba(230, 223, 236, 0.2));
    /*内容标题背景*/
    --content-title-bg: rgba(255,255,255,.2);
    /*内容长宽*/
    --content-l-item-w: 200px;
    --content-l-item-h: 264px;
}
/*主体大小*/
.m-body {
    width: var(--m-body);
    margin: 0 auto;
}
/*========================================header*/
.header {
    width: 100%;
    height: 60px;
    box-shadow: 0 0 6px 2px rgba(43, 43, 43, 0.2);
    background: var(--header-bg-color);
}
.header .title{
    color: var(--theme-color);
}
/* 定义动画 */
@keyframes animate-title{
    to{
        /* 色相旋转过滤镜（设置度数可改变颜色） */
        filter: hue-rotate(50deg);
    }
}
.header .title h1{
    margin: 0 15px;
    color: #fff;
    letter-spacing: 15px;
    line-height: 60px;
    outline: none;
    /* 自定义属性 --c,可通过 var 函数对其调用 */
    --c: var(--theme-color);
    /* 调用自定义属性--c，设置文字阴影（发光效果） */
    text-shadow: 0 0 2px var(--c),
    0 0 4px var(--c),
    0 0 6px var(--c),
    0 0 8px var(--c),
    0 0 16px var(--c);
    /* 执行动画：动画名 时长 线性的 无限次播放 */
    animation: animate-title 5s linear infinite;
}
.header .logo {
    height: 40px;
    margin-top: 10px;
    margin-right: 30px;
}

.header .nav {
    display: flex;
}

.header .nav li {
    padding: 18px 20px;
}

.header .nav li:hover {
    background-color: #eeeeee;
}

.header .nav .nav-active {
    border-bottom: 4px solid var(--theme-color);
}

/*搜索*/
.search-div {
    border: 1px solid #e1e1e1;
    height: 30px;
    margin-right: 20px;
    margin-top: 15px;
    border-radius: 15px;
    padding-left: 15px;
}

.search-input {
    background-color: var(--header-bg-color);
    border: none;
    width: 150px;
    height: 25px;
}

.search-btn {
    border: none;
    background-color: var(--theme-color);
    border-radius: 14px;
    height: 23px;
    color: white;
    padding: 0 5px;
    margin: 2px;
}

.login-info {
    line-height: 60px;
}
/*========================================header end*/

/*=============================================================main*/
.main-banner{
    width: 100%;
    padding: 30px;
    background: var(--main-banner-bg);
    display: flex;
    justify-content: center;
}
/*通知公告*/
.main-banner-notice{
    width: 190px;
    height: 400px;
    border: 1px solid #e1e1e1;
    margin-left: 10px;
    border-radius: 10px;
    color: #767474;
    /*CSS实现隐藏滚动条同时又可以滚动*/
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* 隐藏 Chrome、Safari 和 Opera 的滚动条 */
.main-banner-notice::-webkit-scrollbar {
    display: none;
}

.main-banner-notice >div:nth-of-type(1){
    text-align: center;
}
.main-banner-notice >div{
    padding: 5px 6px;
}
.main-banner-notice p{
    font-size: 12px;
}
/*通知公告*/

/*内容*/
.main-content{
    width: 100%;
    min-height: 300px;
    padding: 10px;
    background: var(--main-content-bg);
}
/*标题*/
.content-title{
    margin: 10px 0;
    padding: 0 10px;
    border-left: 3px solid black;
    background: var(--content-title-bg);
}
/*内容*/
.main-content .content-l{
    display: flex;
    flex-wrap: wrap;
}
@keyframes animated_div{
    0%		{margin-top: 15px;}
    100%	{margin-top: 0;}
}
.main-content .content-l .content-l-item:hover{
    animation: animated_div 0.5s forwards;
}
.main-content .content-l .content-l-item{
    width: var(--content-l-item-w);
    height: var(--content-l-item-h);
    box-shadow:0 0 6px 2px rgba(12, 110, 232, 0.15);
    text-align: center;
    margin-right: 13px;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 5px;
}
.main-content .content-l .content-l-item:nth-child(n){
    border-top: 1px solid #217AFD;
}
.main-content .content-l .content-l-item:nth-child(n+1){
    border-top: 1px solid #4ADEFF;
}
.main-content .content-l .content-l-item:nth-child(n+2){
    border-top: 1px solid #FD7021;
}
.main-content .content-l .content-l-item:nth-child(n+3){
    border-top: 1px solid #62D05F;
}
.main-content .content-l .content-l-item:nth-child(n+4){
    border-top: 1px solid #217AFD;
}
.main-content .content-l .content-l-item:nth-child(n+5){
    border-top: 1px solid #4ADEFF;
}

.main-content .content-l .content-l-item img{
    max-width: calc(var(--content-l-item-w) - 10px);
    height: 150px;
    margin-bottom: 10px;
}

.main-content .content-l .content-l-item .content-l-item-title{
    font-size: 18px;
    margin-bottom: 10px;
    width: calc(var(--content-l-item-w) - 10px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.main-content .content-l .content-l-item .content-l-item-tip{
    font-size: 10px;
    color: #999999;
}

/*=============================================================main end*/


/*=============================================================detail详情页*/
/*详情页*/
.main-detail{

}
.main-detail .detail-head{
    display: flex;
    min-height: calc(var(--m-body) / 2 - 200px);
}
.detail-head-box1{
    width: calc(var(--m-body) / 2 - 100px);
    padding: 20px;
}
.detail-head-box1 img{
    width: calc(var(--m-body) / 2 - 140px);
}
.detail-head-box2{
    width: calc(var(--m-body) / 2 - 100px);
    padding: 30px;
}
.detail-head-box2 h1{
    margin: 10px 0 20px;
}
.detail-head-box2-desc {
    background-color: rgba(0,1,1,.1);
    padding: 10px;
    line-height: 2rem;
}
.detail-head-box2-tip {
    margin: 10px 0;
}
.detail-head-box2 button{
    width: 150px;
    height: 40px;
    background-color: var(--theme-color);
    border: none;
    border-radius: 15px;
    margin: 30px 15px 30px 0;
    color: white;
    font-weight: 700;
    font-size: 18px;
}
/*详情页主体*/
.detail-body{
    display: flex;
    padding: 30px 0;
    border-top: 1px solid #e1e1e1;
}
/*热门推荐*/
.detail-body1{
    width: calc(var(--m-body) * 0.2);
    min-height: 500px;
    padding: 15px 5px;
    border: 1px solid #e1e1e1;
    border-top: 4px solid var(--theme-color);
    text-align: center;
}
.detail-body1 .detail-hot{
    padding: 2px;
    margin: 9px 0;
    border: 1px solid #e1e1e1;
}
.detail-body1 .detail-hot img{
    width: calc(var(--m-body) * 0.2 - 20px);
}
.detail-body1 .detail-hot p{
    font-weight: 600;
    width: calc(var(--m-body) * 0.2 - 20px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 3px;
}
.detail-body1 .detail-hot p:nth-of-type(2) {
    font-weight: 400;
    font-size: 12px;
}
.detail-body1 .detail-hot p:nth-of-type(3) {
    font-weight: 400;
    font-size: 13px;
}
/*内容详情*/
.detail-body2{
    margin: 0 20px;
    width: calc(var(--m-body) * 0.8);
    border-top: 4px solid var(--theme-color);
}
.detail-body2 > h2{
    text-align: center;
    letter-spacing: 1rem;
    margin: 20px 10px;
}
.detail-body2 > h3{
    padding: 0 15px;
    margin: 20px 10px;
    border-left: 3px solid var(--theme-color);
}
.detail-body2 > p{
    margin: 10px 10px;
    padding: 0 18px;
    white-space: pre-wrap;
}
.detail-body2 > video{
    display: block;
    margin: 0 auto;
    max-height: 400px;
}

/*=============================================================detail详情页 end*/


/*------------------------------尾巴*/
/*尾部*/
.footer {
    background: rgb(2,37,89);
    font-size: 14px;
}

.footer .hrefother {
    cursor: pointer;
    display: inline-block;
    color: white;
    text-decoration: none;
}

.footer .footer_title {
    text-align: center;
    color: white;
    padding-top: 30px;
    padding-bottom: 20px;
}

.footer .footer_title .footer_flex {
    display: flex;
    justify-content: space-between;
}

.footer .footer_title .footer_flex .foot-img {
    width: 130px;
    height: 130px;
}

.footer .footer_title .footer_flex .foot_one {
    width: 30%;
    text-align: left;
}

.footer .footer_title .footer_flex .titlesss {
    font-weight: bold;
    margin-bottom: 20px;
}

.footer .footer_title .footer_flex .foot_two {
    width: 19%;

}

.footer .footer_title .footer_flex .foot_three {
    width: 25%;
    text-align: left;
    padding-left: 30px;
}

.footer .footer_title .footer_flex .foot_four {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer .footer_title .main {
    font-size: 20px;
}
.footer .textss
{
    font-size: 13px;
    margin-bottom: 10px;
}

/*------------------------------尾巴*/
